Liveview에서 여러 phx- 잇는 방법.

attr로 받는 Liveview.JS 객체를 pipe 하기


  attr(:"phx-mounted", JS, default: %JS{})

# ...
<div 
	phx-mounted={assigns[:"phx-mounted"] |> JS.dispatch("addEvent:enterSubmit", detail: %{event_name: "keyup"}) }
/>